<template>
  <div id='wrap'>
    <h1>通过 RouterView传值子组件1</h1>
    <p v-for="item in props.view" :key="item">{{ item }}</p>
  </div>
</template>

<script lang='ts'>
export default {
  name: 'scu38Son1',
}
</script>

<script lang='ts' setup>
import { ref } from 'vue'
import { type classA } from "@/views/day20250103/scu38.vue";
const props=defineProps<{
  view:classA
}>()
</script>

<style scoped lang='scss'>

</style>
